package com.wing.web.db.config;

/**
 * Filter配置
 *
 * @author
 */
//@Configuration
//public class UrlFilterConfig {
//
//
//    @Bean
//    public FilterRegistrationBean urlFilterRegistration() {
//        FilterRegistrationBean registration = new FilterRegistrationBean();
//        registration.setDispatcherTypes(DispatcherType.REQUEST);
//        registration.setFilter(new InterfaceInterceptor());
//        registration.addUrlPatterns("/*");
//        //排除不过滤的路径,多个用逗号隔开
//        // registration.addInitParameter("exclusions","/admin/rule,/admin/var");
//        registration.setName("urlFilter");
//        registration.setOrder(Integer.MAX_VALUE);
//        return registration;
//    }
//}
